When the aircraft pivots left or right, this is called yaw.  It is a rotation around the vertical axis.  The rudder is the control surface that affects yaw.